2022-05-13 20:08:20 +08:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Psuedo-backend for CUPS testing purposes.
|
|
|
|
#
|
2023-01-12 15:27:08 +08:00
|
|
|
# Copyright © 2022 by OpenPrinting.
|
|
|
|
# Copyright © 2011 by Apple Inc.
|
2022-05-13 20:08:20 +08:00
|
|
|
#
|
2023-01-12 15:27:08 +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
|