LEADTOOLS Support
Document
Document SDK Questions
horizontal lines when printing with postscript driver
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, July 12, 2006 1:36:28 AM(UTC)
Groups: Registered
Posts: 4
Hi, when printing with a postscript driver (Oce 3165 PS, Oce VarioPrint 2050 PS, Oce VarioPrint 2045 PS) by means of the rasterview.render method we get a correct printout of the document, however there is a frameline around the document and there are horizontal lines over the document, every 1.5cm or so.
Is this know behaviour, or is there anything that you can tell me about these lines and how to avoid them?
Thanks in advance.
#2
Posted
:
Sunday, July 16, 2006 10:09:59 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
Does this problem happen with other PS drivers, such as those shipped with common Laser printers? If yes, can you send us the following so that we can test here:
1. A sample image that when printed shows the problem.
2. A small test project that performs printing the way your main program does.
If you want to send files, you can either post them here or send them to
support@LEADTOOLS.comImportant notes:
1. If you post or email files, please put them in a ZIP file first.
2. Please don't send your full application.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Monday, July 17, 2006 1:35:18 AM(UTC)
Groups: Registered
Posts: 4
Thanks for the fast reply.
To answer your questions: No, common postscript drivers don't seem to have this problem. We tried several on various printers in our organisation, but we can't reproduce the behaviour. The specific customer only has OC printers, but we don't have any...which makes debugging difficult.
The printerfunction is quite straightforward: it's the same as the sample printerfunctions of the rastercontrol.
#4
Posted
:
Tuesday, July 18, 2006 1:38:31 PM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
Can they contact the vendors of the PS drivers and explain the problem to them? If they need to test using our controls, they can either download the free evaluation edition of our toolkit, or you can provide them with the needed EXE and LEADTOOLS DLL or OCX files.
If the driver vendors believe the problem is caused by our printing code and they send you technical details about it, you can send the information to
support@leadtools.com and we will check it or pass it to our engineering department.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
#5
Posted
:
Wednesday, July 19, 2006 2:02:47 AM(UTC)
Groups: Registered
Posts: 4
We will do a more comprehensive test first on site (at the customers). We will test they're OC printers with PCL drivers and we will try another brand of printer. If that test confirms it's only the OC printers with those specific drivers, we will then take it up with OC. Thank you for the support so far, I will keep you informed as we make more progress.
#6
Posted
:
Sunday, November 12, 2006 11:58:29 PM(UTC)
Groups: Registered
Posts: 4
Well those tests have been done. Conclusions are:
- Printing with leadviewer on HP printer with Postscript drivers works fine.
- Printing with Leadviewer on OCE printer with a PCL driver works fine.
- Printing with Leadviewer on OCE printer with a Postscript driver gives the horizontal lines.
OCE did some tests themselves:
They installed the latests postscript drivers, without result.
The same TIFF printer on the OCE with PS driver but from Image Viewer works fine.
HP PS driver connected to the OCE printer also gives the horizontal lines.
Can you specify what information you need about those printers?
#7
Posted
:
Monday, November 13, 2006 7:40:40 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
The way our printing functions work is that they create a Windows Device Context (DC) using the printer driver, then use GDI function calls to draw on that DC. This is the standard printing model in Windows.
It is then the responsibility of the printer driver to convert these drawing commands from GDI calls to PostScript (or PCL or whatever the driver supports).
Since our printing function works correctly with other drivers (even PostScript drivers), this means it is possible the problem is caused by the driver that produces the horizontal lines.
That's why I suggested that the driver vendors test using our toolkit and check the GDI calls we send to their driver. If they believe the problem is caused by our printing code, we need their point of view on why our GDI calls are incorrect. This means we currently tend to believe our code is OK. If they have ANY information that suggests otherwise, we would like to know it.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Questions
horizontal lines when printing with postscript driver
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.