Difference between revisions of "Print System"

From MorphOS Library

Line 4: Line 4:
  
 
New preferences has been created to handle drivers and profiles. Driver is a binary form of PPD textual file.  Profile is a driver which includes settings set by the user.  
 
New preferences has been created to handle drivers and profiles. Driver is a binary form of PPD textual file.  Profile is a driver which includes settings set by the user.  
[[File:Printers1.png|frameless|center|640px]]
+
[[File:Printers1.png|frameless|center|700px]]
  
 
To have printer connected one has to provide PPD driver. Some of printers including EPSON ESC/PR and Samsung CLPs can be automatically found and driver will be added using '''Search driver''' button. If not please use '''Add...''' button to select PPD file. PPD files for Postscript printers will be added and they are ready to work. PPD files for other printes contain reference to filter file (driver which translate data to printer binary format). If PPD file with filter not available in MorphOS is provided user will be asked what to do.
 
To have printer connected one has to provide PPD driver. Some of printers including EPSON ESC/PR and Samsung CLPs can be automatically found and driver will be added using '''Search driver''' button. If not please use '''Add...''' button to select PPD file. PPD files for Postscript printers will be added and they are ready to work. PPD files for other printes contain reference to filter file (driver which translate data to printer binary format). If PPD file with filter not available in MorphOS is provided user will be asked what to do.
[[File:Printers2.png|frameless|center|640px]]
+
[[File:Printers2.png|frameless|center|700px]]
 
After adding the driver profile needs to be added. Please select Add... button. A window with driver selection will appear. User can create many profiles for one driver: one for color printing, one for b/w, etc.
 
After adding the driver profile needs to be added. Please select Add... button. A window with driver selection will appear. User can create many profiles for one driver: one for color printing, one for b/w, etc.
[[File:Printers3.png|none]]
+
[[File:Printers3.png|frameless|center|700px]]
 
After creating the profile you can make it as default and set the output path. Both file and device output is supported. So for printing for file you can set RAM:output_print. For network printing please use NETPAR: and for usb printers please use USBPAR:. Usb printing needs USBPAR mountlist copied from Storage/DosDrivers to the DEVS:DosDrivers or add mount USBPAR: somewhere in the S:user-startup file.
 
After creating the profile you can make it as default and set the output path. Both file and device output is supported. So for printing for file you can set RAM:output_print. For network printing please use NETPAR: and for usb printers please use USBPAR:. Usb printing needs USBPAR mountlist copied from Storage/DosDrivers to the DEVS:DosDrivers or add mount USBPAR: somewhere in the S:user-startup file.
  
[[File:Printers4.png|frameless|center|640px]]
+
[[File:Printers4.png|frameless|center|700px]]
  
 
Under '''Options''' button printer options can be set for the profile. Each printer driver has own set of options.  
 
Under '''Options''' button printer options can be set for the profile. Each printer driver has own set of options.  
[[File:Printers5.png|frameless|center|640px]]
+
[[File:Printers5.png|frameless|center|700px]]
  
 
Main application which make use of the new printing system is VPDF - PDF files viewer from Application directory. When selecting Postscript option in Print window, a Profile selector is available where you can select between profiles defined earlier in Printers preferences. You can also use (To file) to get raw Postscript output.
 
Main application which make use of the new printing system is VPDF - PDF files viewer from Application directory. When selecting Postscript option in Print window, a Profile selector is available where you can select between profiles defined earlier in Printers preferences. You can also use (To file) to get raw Postscript output.
[[File:Printers7.png|frameless|center|640px]]
+
[[File:Printers7.png|frameless|center|700px]]
  
 
printer.device/TurboPrint like printing from old applications is not yet supported, although VPDF prints using TurboPrint when Postscript option is not active.  
 
printer.device/TurboPrint like printing from old applications is not yet supported, although VPDF prints using TurboPrint when Postscript option is not active.  

Revision as of 12:28, 18 October 2019

New printer system has been introduced in MorphOS 3.10 and extended in MorphOS 3.12. It is based on CUPS logic although it doesn;t contain any CUPS code in its core. Drivers are represented using PPD (PostScript Printer Description) [1], which supports both Postscript and non-Postscript printers. Previously Postscript printers could be used in MorphOS directly sending raw Postscript stream to the printer. It doesn't allow to set any settings and only Pagestream has decent settings for that.

New preferences has been created to handle drivers and profiles. Driver is a binary form of PPD textual file. Profile is a driver which includes settings set by the user.

Printers1.png

To have printer connected one has to provide PPD driver. Some of printers including EPSON ESC/PR and Samsung CLPs can be automatically found and driver will be added using Search driver button. If not please use Add... button to select PPD file. PPD files for Postscript printers will be added and they are ready to work. PPD files for other printes contain reference to filter file (driver which translate data to printer binary format). If PPD file with filter not available in MorphOS is provided user will be asked what to do.

Printers2.png

After adding the driver profile needs to be added. Please select Add... button. A window with driver selection will appear. User can create many profiles for one driver: one for color printing, one for b/w, etc.

Printers3.png

After creating the profile you can make it as default and set the output path. Both file and device output is supported. So for printing for file you can set RAM:output_print. For network printing please use NETPAR: and for usb printers please use USBPAR:. Usb printing needs USBPAR mountlist copied from Storage/DosDrivers to the DEVS:DosDrivers or add mount USBPAR: somewhere in the S:user-startup file.

Printers4.png

Under Options button printer options can be set for the profile. Each printer driver has own set of options.

Printers5.png

Main application which make use of the new printing system is VPDF - PDF files viewer from Application directory. When selecting Postscript option in Print window, a Profile selector is available where you can select between profiles defined earlier in Printers preferences. You can also use (To file) to get raw Postscript output.

Printers7.png

printer.device/TurboPrint like printing from old applications is not yet supported, although VPDF prints using TurboPrint when Postscript option is not active. To get printing supported in any application (with Postscript support) please use PRINTER: device for storing Postscript output. printer-handler which control the PRINTER: device has such options:

  • PROFILE/K - name of the profile, get default profile from Printers preferences when not set
  • ARGS/K - CUPS compatible option set
  • FORMAT/K - defaults to PS for now
  • COPIES/N - how many copies should be printed

When PRINTER: device is used it preformats raw Postscript output from application adding additional parameters set in Printers preferences and for example make multipage per sheet printing which is not available in raw printing. For non-Postscript printers internal Ghostscript 8.70 processing is done. This can take some seconds so Postscript printers are preffered.