FAQ TBarCode/X - Barcode Software for Mac OS X ® , UNIX ® , Linux ®
TBarCode/X Filter Not Applied in CUPS PCL Queue
TBarCode/X Filter Not Applied in CUPS PCL Queue
First make sure the mime.types file contains the header sequence for PCL and the mime.convs file contains the correct conversation route from PCL to octet-stream. The mime.convs must also include a call to the TBarCode filter script, alternatively, this can be done in the PPD file. See more details on how to configure this for your CUPS version in the TBarCode/X user manual.
Next, either the origin mime-type of the print job is determined by “auto-typing” in CUPS (with the help of mime.types) or you preset a document type for the queue in question.
You can preset a PCL document type for a queue as follows:
lpoptions -o document-format=application/vnd.hp-pcl -p MYPCLQUEUE
You can set it also on a per job base:
lp -d PRINTERNAME -o document-format=application/vnd.hp-pclpathtojobfile
This avoids autotyping for the filter and can solve issues if the print job is not correctly recognized as PCL job.