Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DSC "jog" command Vs VIPP OFFSET_on 1

Status
Not open for further replies.

Waku

Vendor
Feb 13, 2006
3
HK
Does anyone know how the VIPP command OFFSET_on can be replaced by Postscript command? Someone has told me that the DSC "jog" command can help offset-stack. However I don't know how to use the "jog" command properly. Anyone has ideas? Thanks for your sharing.
 
DSC stands for Document Structuring Comments. A PostScript interpreter ignores these comments. The comments are only for pre-processing applictions that might do things like split the pages, do n-up processing, etc. A PostScript device does not read DSC to activate finish operations.

The PostScript commands that activate jogging/offsetting are not standard. They are printer dependant. Some printers use the following PostScript command:

<< /Jog 3 >> setpagedevice

Other printers need to see a "toggle" between that command and this:

<< /Jog 0 >> setpagedevice

Still other printers may need something else. Consult the PostScript documentation for the particular printer to see what it may need for jogging/offsetting.

Thanks
Scott Prouty
 
Thanks Scott. Your information is useful.

The printer is Xerox DP180. And I found that they use "setpagedevice jog 0" and "setpagedevice jog 3". However I do not know where to put them in the Postscript file. Should I put them before "%%EndPageSetup"? Any suggestions? Thanks in advance.
 
These would need to go at the top of the page where the jogging/offsetting is to occur.

I just happen to have an example file I created a while ago to test jogging/offsetting on Xerox DocuSP printers:

Code:
%!PS-Adobe
%%Requirements: jog simplex 
% 2001-11-15 SJP
% File to test Xerox DocuSP printer jog behavior

<<
/Duplex false
/Jog 0 % Jog initially off and set to 0
>> setpagedevice % Initial settings

/Helvetica findfont 24 scalefont setfont

36 732 moveto
(Page 1 of 5, Set 1) show
showpage
36 732 moveto
(Page 2 of 5, Set 1) show
showpage
36 732 moveto
(Page 3 of 5, Set 1) show
showpage
36 732 moveto
(Page 4 of 5, Set 1) show
showpage
36 732 moveto
(Page 5 of 5, Set 1) show
showpage

<<
/Jog 3 % Toggle to jog here
>> setpagedevice

36 732 moveto
(Page 1 of 5, Set 2) show
showpage
36 732 moveto
(Page 2 of 5, Set 2) show
showpage
36 732 moveto
(Page 3 of 5, Set 2) show
showpage
36 732 moveto
(Page 4 of 5, Set 2) show
showpage
36 732 moveto
(Page 5 of 5, Set 2) show
showpage

<<
/Jog 0 % Toggle to jog here
>> setpagedevice

36 732 moveto
(Page 1 of 5, Set 3) show
showpage
36 732 moveto
(Page 2 of 5, Set 3) show
showpage
36 732 moveto
(Page 3 of 5, Set 3) show
showpage
36 732 moveto
(Page 4 of 5, Set 3) show
showpage
36 732 moveto
(Page 5 of 5, Set 3) show
showpage

<<
/Jog 3 % Toggle to jog here
>> setpagedevice

36 732 moveto
(Page 1 of 5, Set 4) show
showpage
36 732 moveto
(Page 2 of 5, Set 4) show
showpage
36 732 moveto
(Page 3 of 5, Set 4) show
showpage
36 732 moveto
(Page 4 of 5, Set 4) show
showpage
36 732 moveto
(Page 5 of 5, Set 4) show
showpage

%%EOF

Thanks
Scott Prouty
 
Hi there,

Does anyone have experience with the jog command on Hp printers , specificaly the HP9000. I have a file that is jogging fine on Xerox large production printers but not on our HP9000s (also production, only smaller) Any ideas??
I really apreciate any info,Thanks!

Here is a sample of the code:
%%Page: 0 1
%%BeginPageSetup
<<
/MediaType null
/Jog 3
>>setpagedevice


This is toggled with:

%%Page: 0 1
%%BeginPageSetup
<<
/MediaType null
/Jog 0
>>setpagedevice
 
Thanks Scott and bbonn for your sample codes. I will try them on the Xerox production printer (DP180 with DocuSP 3.74)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top