diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/ps_view/ps_local.ps |
Initial commit
Diffstat (limited to 'support/ps_view/ps_local.ps')
-rw-r--r-- | support/ps_view/ps_local.ps | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/support/ps_view/ps_local.ps b/support/ps_view/ps_local.ps new file mode 100644 index 0000000000..001cf4c070 --- /dev/null +++ b/support/ps_view/ps_local.ps @@ -0,0 +1,114 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% +%% This is a configuration file for the PS_VIEW previewer, ver. 2.01. +%% It is supposed to be changed freely, although not madly, by a user. +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% JOB PARAMETERS + +/restart_name (!ps_rest.ps) def % name of the default restart file +% +/pagebeg_mark [ % begin-of-page mark + (%%Page:) (%DVIPSSectionPage:) +% (%StartPage) % Corel 5 (bez separacji) +% (/SepMode 2) % Corel 5 (separacja 2?) +% (/ColorSeparationMode) % Corel 3 +] def +/prolbeg_mark % begin-of-prolog mark + [(%!PS) (%!PS) (%DVIPSBeginSection)] def +/prolend_mark pagebeg_mark def % end-of-prolog mark +/bb_mark [(%%BoundingBox:)] def % bounding box mark +% +/mag_factor 2 def % MAG for the `m' command +/shift 5 def % SHIFT for the `l' `r' `u' `d' commands +/max_pages 512 def % maximal viewable pages number +/line_length 2048 def % maximal document line length in the `ap' command +/grid_wd 10 def /grid_ht 10 def % local grid resolution +/x_unit 1 CM def /y_unit 1 CM def % global grid units + +%%%% LOCAL PRINTERS + +% Here come descriptions of local ``printers''. These are descriptions +% of some Ghostscript devices, including `pcxmono', `pcx256', etc, +% used for the on-line printing. +% Add your own description to this list. +% We need the description unit do be a dictionary containing some +% of the following fields: +% +% /printer_name (laserjet) def % Ghostscript device name +% /printer_output (!ps_out.jep) def % printing to the file +% /printer_x_corr 0 def % printer horizontal offset correction +% /printer_y_corr 0 def % printer vertical offset correction +% /printer_x_marg 0 def % printer horizontal margin (for ver: +% /printer_y_marg 0 def % printer vertical margin >=312) +% /printer_spot /gs_spot load def % selected spot function +% /printer_freq 46 def % screen frequency for printing +% /printer_angle 45 def % screen angle for printing +% /printer_xy_res [300 300] def % printer resolution, as default +% we use device-specific resolution +% +% In the above examples we put the default values. You don't need +% to redefine these values. +% The selected for on-line printing device need to be assigned to the name +% `user_printer', look to the end of the LOCAL PRINTERS. + +%% HP LaserJet III p +/ljet3p 6 dict def % create local printer dictionary +ljet3p begin % set printer dictionary +/printer_name (ljet3) def % Ghostscript device name +/printer_output () def % printing immediately to the printer +revision 312 lt { + /printer_x_corr 0 def % printer horizontal offset correction + /printer_y_corr -71 def % printer vertical offset correction +} if +revision dup 351 ge exch 510 lt and { + /printer_x_marg -80 def % printer horizontal margin + /printer_y_marg 0 def % printer vertical margin +} if +/printer_freq 46 def % screen frequency for printing +/printer_spot/dot_spot load def % selected spot function +end % local printer defined + +%% HP LaserJet III +/ljet3 3 dict def % create local printer dictionary +ljet3 begin % set printer dictionary +/printer_name (ljet3) def % Ghostscript device name +/printer_output () def % printing immediately to the printer +/printer_freq 46 def % screen frequency for printing +end % local printer defined + +%% HP LaserJet IV p +/ljet4p 6 dict def % create local printer dictionary +ljet4p begin % set printer dictionary +/printer_name (ljet4) def % Ghostscript device name +/printer_output () def % printing immediately to the printer +/printer_spot/dot_spot load def % selected spot function +/printer_freq 70 def % screen frequency for printing +revision dup 351 ge exch 510 lt and { + /printer_x_marg -155 def % printer horizontal margin + /printer_y_marg 0 def % printer vertical margin +} if +end % local printer defined + +%% HP Desk Jet 550 (Color) +/cdj550 3 dict def % create local printer dictionary +cdj550 begin % set printer dictionary +/printer_name (cdj550) def % Ghostscript device name +/printer_output (!cdj550.jep) def % printing to the file +/printer_freq 60 def % screen frequency for printing +end % local printer defined + +%% PCX monochrome +/pcxmono 4 dict def % create local printer dictionary +pcxmono begin % set printer dictionary +/printer_name (pcxmono) def % Ghostscript device name +/printer_output (!pcxmono.pcx) def % printing to the file +/printer_freq 40 def % screen frequency for printing +/printer_xy_res [300 300] def % printer resolution +end % local printer defined + +%% user printer selection +ljet3p prs + +%%%% END OF FILE + |