-------------------------------------------------------------------------------
Operat.System:HP-UX A.09.05 A
Mailer: Elm [revision: 70.85]
Addendum/Erratum to previous message:
Further investigation of modified Frame 5.0 letter documents showed:
(*) /FMAllowPaperSizeMismatch true def allows to print a letter
document on an A4 Printer, but our HP LaserJet 5si still requires
manual intervention (i.e. press panel buttons). In this respect
using the filter is more convenient.
(*) papersize 999.9 999.9 worked with Frame 4.x documents but causes an
unacceptable page offset for a new Frame 5.0 test document.
Therefore "unknown" and "999.9 999.9" in the filter
has to be replaced by "common area" + "595.3 792".
Sorry for these imprecisions. For clarity I will attach the modified filter.
Regards, Roland.
##########################################################################
#!/usr/bin/awk -f
# Purpose: make Frame Postscript docs as is printable on any paper format
# Remove papersize checks and instructions from Frame letter/A4 documents
# FMBEGINPAGE/FMDOCUMENT
# Change papersize from letter to common area
/612[ \t]*792/ {sub (/612[ \t]*792/, "595.3 792") }
# Change papersize from A4 to common area
/595\.3[ \t]*841\.9/ {sub (/595\.3[ \t]*841\.9/, "595.3 792") }
# Search Frame Failure Routine, Delete "Print Error Message and Abort" Commands
# delete eventually included PPD (PostScript Printer Description) Instructions
{if (/^\/FMFAILURE \{/){
print;
getline;print;
while(!(/\} def[ \t]*$/)){getline;}
print;
}else if (/^\%\%BeginPaperSize/){
while(!(/\%\%EndPaperSize/)){getline;}
}else{
print
}
}
# End of script
##########################################################################
--
___o
Roland M"uller _`\ <,_
_____ (_)/ (_) ____
.....*..................................................................
BESSY I: Abt.Maschine, Lentzeallee 100 : Phone (+49 30)82004 114
D-14195 Berlin (Wilmersdorf) : Fax: 103
BESSY II: Geb. 15.1, Rudower Chaussee 5 : Phone (+49 30)6392 4652
D-12489 Berlin (Adlershof) : Fax: 4632
Mailbox : [email protected] :
........................................................................
*:Berliner ElektronenSpeicherring-gesellschaft f"ur SYnchrotronstrahlung
- Navigate by Date:
- Prev:
subscribe Dave Gurd
- Next:
driver support for snmp management Matthias Clausen DESY -MKV2/KRYK-
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
subscribe Steve Hunt
- Next:
driver support for snmp management Matthias Clausen DESY -MKV2/KRYK-
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|