Print to a PCL Device

Top Previous Topic Next Topic  Print this topic

In order to print to a PCL Device, firstly, a printer driver must be installed.

 

The following information is a guide for Windows Vista and the next steps must be followed:

 

·Double-click on Printers.
·Right-click and choose Add Printer from context menu.
·Choose Add a Local Printer, click Next and choose a manufacturer from the left list. For this example, the value HP will be used.
·From the right list (Printers), select a PCL driver. For this example, the value HP LaserJet 5200 Series PCL 5 will be used.
·Click Next.
·Remove spaces from the printer name - i.e. the name should look like the following: HPLaserJet5200SeriesPCL5.
·Click Next, Next and Finish.

 

Now that a PCL printer driver is available, a PCL file can be created with XF Rendering Server. Using URender.NET, the command line is the following:

 

 

       URender.NET.exe c:\temp\input.fo -parameters:printername=HPLaserJet5200SeriesPCL5;outputprintfile=c:\temp\outputFile.pcl

 

 

In the same manner, if the printer exists and the user desired to print directly to it, the following command line must be used (Note: no output file is specified):

 

 

       URender.NET.exe c:\temp\input.fo -parameters:printername=HPLaserJet5200SeriesPCL5

 

 

If the user desired to print from the local network, using a shared printer, the following command line must be used (in this example, HPLasterJet5200SeriesPCL5 attached to computer srv01 value will be used):

 

 

       URender.NET.exe c:\temp\input.fo -parameters:printername=\\srv01\HPLaserJet5200SeriesPCL5