Bug 21942 - PCL printers that also support PJL
Summary: PCL printers that also support PJL
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rhs-printfilters
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-08 14:41 UTC by Need Real Name
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-12-08 14:41:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-12-08 14:41:10 UTC
I have a Minolta pageworks printer that emulates PCL5e and supports
PJL.  It uses the ljet4 ghostscript driver.  This problem is that the
master-filter does not have an option to generate the PJL delimiter
command.  This causes a printer that supports PJL to consider the print
job pending even after it has completed.  The net result is that the
printer will not go into power save mode.

Here is a patch to fix master-filter to have a PJL option.  That option
would need a check box on printtool and an extra options box.  The extra
PJL options can be used for multi-language printers, for example:

EXTRA_PJL_OPTIONS='LANGUAGE=PCL\r\n'

--- /usr/lib/rhs/rhs-printfilters/master-filter Wed Aug 30 12:28:56 2000
+++ ./master-filter     Wed Dec  6 11:44:32 2000
@@ -378,9 +378,26 @@
     fi

 #
+#   see if we need to send PJL commands
+#
+    if [ "$SEND_PJL" != "" ]; then
+      printf '\033%%-12345X'
+    fi
+    if [ "$EXTRA_PJL_OPTIONS" != "" ]; then
+      printf "$EXTRA_PJL_OPTIONS"
+    fi
+
+#
 # run the command!
 #
     eval $bestpath 2>/dev/null
+
+#
+#   see if we need to send PJL commands
+#
+    if [ "$SEND_PJL" != "" ]; then
+      printf '\033%%-12345X'
+    fi

 #
 #

Comment 1 Crutcher Dunnavant 2001-03-27 20:42:25 UTC
rhs-printfilters is not going to be gaining new functionality, as we've written
a new system, printconf, to replace it. I believe that the linuxprinting.org
backend that printconf lays upon has these capabilities.


Note You need to log in before you can comment on or make changes to this bug.