cups/backend/pseudo

21 lines
511 B
Plaintext
Raw Normal View History

2022-05-13 20:08:20 +08:00
#!/bin/sh
#
# Psuedo-backend for CUPS testing purposes.
#
2023-10-26 10:19:35 +08:00
# Copyright © 2022-2023 by OpenPrinting.
2023-01-11 16:57:48 +08:00
# Copyright © 2011 by Apple Inc.
2022-05-13 20:08:20 +08:00
#
2023-01-11 16:57:48 +08:00
# Licensed under Apache License v2.0. See the file "LICENSE" for more
# information.
2022-05-13 20:08:20 +08:00
#
if test $# = 0; then
echo 'direct pseudo:///deskjet "HP DeskJet" "HP DeskJet (pseudo)" "MFG:HP;MDL:DeskJet;CMD:PCL;" "Nowhere"'
echo 'direct pseudo:///laserjet "HP LaserJet" "HP LaserJet (pseudo)" "MFG:HP;MDL:LaserJet;CMD:PCL;" "Nowhere"'
exit 0
fi
cat $6 >/dev/null
sleep 5
exit 0