then it sends the job ;
then it sends a form feed to eject the last page of the job .
It should work with nearly all Hewlett Packard printers.
www.freebsd.czAnschließend wird der Druckauftrag gesendet.
Als Abschluss wird ein Form Feed gesendet , um die letzte Seite des Druckauftrags auszuwerfen .
Dieses Beispiel sollte mit nahezu allen Druckern von Hewlett Packard funktionieren.
www.freebsd.cz# ! / bin / sh # # if-simple - Simple text input filter for lpd # Installed in / usr / local / libexec / if-simple # # Simply copies stdin to stdout.
Ignores all filter arguments . # Writes a form feed character ( \ f ) after printing job .
/bin/cat && printf "\f" && exit 0 exit 2
www.freebsd.org# ! / bin / sh # # if-simple - Einfacher Eingabefilter für lpd # Installiert unter / usr / local / libexec / if-simple # # Kopiert stdin einfach nach stdout.
Ignoriert alle Filter-Argumente. # Schreibt ein Form-Feed-Zeichen (\f) nach dem Ende des Druckauftrages.
/bin/cat && printf "\f" && exit 0 exit 2
www.freebsd.orgexit 0 else # # Plain text or HP / PCL, so just print it directly ;
print a form feed # at the end to eject the last page .
# echo "$first_line" && cat && printf "\033&l0H" && exit 0 fi exit 2
www.freebsd.czexit 0 else # # Normaler Text oder HP / PCL, einfach direkt drucken.
Ans Ende setzen wir # einen Seitenumbruch ( also ein Form Feed ) , damit auch die letzte Seite # ausgeworfen wird .
# echo "$first_line" && cat && printf "\033&l0H" && exit 0 fi exit 2
www.freebsd.czAnschließend wird der Druckauftrag gesendet.
Als Abschluss wird ein Form Feed gesendet , um die letzte Seite des Druckauftrags auszuwerfen .
Dieses Beispiel sollte mit nahezu allen Druckern von Hewlett Packard funktionieren.
www.freebsd.czthen it sends the job ;
then it sends a form feed to eject the last page of the job .
It should work with nearly all Hewlett Packard printers.
www.freebsd.czexit 0 else # # Normaler Text oder HP / PCL, einfach direkt drucken.
Ans Ende setzen wir # einen Seitenumbruch ( also ein Form Feed ) , damit auch die letzte Seite # ausgeworfen wird .
# echo "$first_line" && cat && printf "\033&l0H" && exit 0 fi exit 2
www.freebsd.czexit 0 else # # Plain text or HP / PCL, so just print it directly ;
print a form feed # at the end to eject the last page .
# echo "$first_line" && cat && printf "\033&l0H" && exit 0 fi exit 2
www.freebsd.czChcesz dodać słowo, frazę lub tłumaczenie?
Wyślij nowe hasło.