Page 1 of 1
How can I control resolution when creating PCL files
Posted: Thu Jan 14, 2010 9:45 pm
by eL_PuSHeR
Hello. I have SAVED AS a PNG file (scaled at 600 dpi B/W) to a PCL file and I have send it to my HP Laserjet 1200 printer. It was printed at a very low resolution. How can I control resolution when creating PCL files?. It seems I am missing something.
Those codes can be seen looking at the PCL header:
E&l0O&l0E&l2A*p0x0Y*t75R*r2362s1476T*r1A*b0M*b296W
I have little understanding of PCL codes but it seems ESCt75R switches to 75dpi resolution. That's why my image appears so big when printed.
Re: How can I control resolution when creating PCL files
Posted: Thu Jan 14, 2010 10:30 pm
by XnTriq
Just an idea

Re: How can I control resolution when creating PCL files
Posted: Fri Jan 15, 2010 7:57 am
by eL_PuSHeR
This is not what I want. I am bypassing windows printer driver completely. If your printer support some PDL language such as PCL or PS you can send a PCL or PS file using the copy command. In my case:
copy /a file.ps LPT1
copy /b file.pcl LPT1
Here are some proper examples I made of PCL and PS.
PCL5 and PS are 600dpi while PCLXL (PCL6) is 1200dpi. All of them are MONOCHROME (duotone).
PDL examples (<1MB)
I don't know why but both PCL and PS files created by XnView don't print at all or badly. I have already remarked that PCL files created via SAVE AS always have 75dpi resolution, no matter whether you use SET DPI before or already have a proper dpi field in EXIF.
Re: How can I control resolution when creating PCL files
Posted: Fri Jan 15, 2010 8:54 am
by Peter2
eL_PuSHeR wrote:...I am bypassing windows printer driver completely. ...
Why? For me I would load a free PCL printer driver and work with "Print to file" (see hint above). There you have the full control of all print-features of XnView AND all features of the driver. All the "save as ..." features have some limitations...
eL_PuSHeR wrote:....If your printer support some PDL language such as PCL or PS you can send a PCL or PS file using the copy command. In my case:
copy /a file.ps LPT1
copy /b file.pcl LPT1...
To you know "GoPlot" from
http://www.noliturbare.com ?
Peter
Re: How can I control resolution when creating PCL files
Posted: Fri Jan 15, 2010 2:02 pm
by eL_PuSHeR
Peter2 wrote:eL_PuSHeR wrote:...I am bypassing windows printer driver completely. ...
Why? For me I would load a free PCL printer driver and work with "Print to file" (see hint above). There you have the full control of all print-features of XnView AND all features of the driver. All the "save as ..." features have some limitations...
Because I am generating all monochrome halftones by myself, my own way. Printer drivers normally defaults to 8x8 halftone cells and offer nothing more to choose from.
Thanks for the link. I am going to check those programs out.
Re: How can I control resolution when creating PCL files
Posted: Fri Jan 15, 2010 2:55 pm
by xnview
eL_PuSHeR wrote:I have little understanding of PCL codes but it seems ESCt75R switches to 75dpi resolution. That's why my image appears so big when printed.
Yes, right a bug
Re: How can I control resolution when creating PCL files
Posted: Fri Jan 15, 2010 8:30 pm
by eL_PuSHeR
Merci beaucoup Pierre.
Re: How can I control resolution when creating PCL files
Posted: Mon Mar 01, 2010 11:51 pm
by eL_PuSHeR
As of XnView 1.97.1, PCL are keeping proper resolution but when printed using my HP Laserjet 1200 printer I get a mirrored (horizontal) and negative image. Any ideas?
EDIT:
Tested with 1.97.2 - Same results.
And, again, same results on screen when using a program such as PCL Reader.