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.
How can I control resolution when creating PCL files
Moderators: helmut, XnTriq, xnview
How can I control resolution when creating PCL files
Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)
Re: How can I control resolution when creating PCL files
Just an ideaXnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=78451#p78451]“Print to file” in print-dialogue[/url]) wrote:Workaround:
- Gallicrow Software: Printing FAQ » How can I “Print to file” if the program that I'm using doesn't have that option?

Re: How can I control resolution when creating PCL files
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.
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.
Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)
Re: How can I control resolution when creating PCL files
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:...I am bypassing windows printer driver completely. ...
To you know "GoPlot" from http://www.noliturbare.com ?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...
Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
Re: How can I control resolution when creating PCL files
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.Peter2 wrote: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:...I am bypassing windows printer driver completely. ...
Thanks for the link. I am going to check those programs out.
Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)
Re: How can I control resolution when creating PCL files
Yes, right a bugeL_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.
Pierre.
Re: How can I control resolution when creating PCL files
Merci beaucoup Pierre.
Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)
Re: How can I control resolution when creating PCL files
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.
EDIT:
Tested with 1.97.2 - Same results.
And, again, same results on screen when using a program such as PCL Reader.
Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
GeForce GTX 970 (Gigabyte)