Solved

Canon BJC-4200 Printer

Posted on 1997-04-14
4
318 Views
Last Modified: 2013-12-15
Would like to be able to print "formatted" text using a filter such as Apsfilter.
I am able, currently, to print though the utput is not formatted at all.( No idea how to do this without a "filter")
I tried using ghostscript to print a small ps picture file and ended up with nothing but a text dump of the file.
May also need some assistance with compilation instructions for Alladin GS 4.03 for a printer that is close to mine.
Thanks
0
Comment
Question by:grbaker
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
hcheng earned 100 total points
ID: 1627141
You should select bjc600 as the printer device from ghostscript.  To make your printer print postscript, you need to add ghostscript as a filter in your /etc/printcap file.  Here is what it looks like in mine:

# Bubble jet

bj:\
  :lp=/dev/lp1:\
  :sd=/usr/spool/bj:\
  :sh:\
  :mx#0:\
  :if=/usr/local/bin/bj-filter:  

where /usr/local/bin/bj-filter is this simple script:

#!/bin/sh
/usr/local/bin/gs -q -dSAFER -dNOPAUSE -sDEVICE=bjc600 -sOutputFile=- -

For formatted text, you can look into a2ps or similar utilities that will do the job.
0
 

Author Comment

by:grbaker
ID: 1627142
Hi There.

Will it be necessary to recompile the ghostscript src files to include support for the bjc600 ( had already read most of the gs docs and settled on this as the closest ). If so is the driver support automatically compiled in when make is run.. or do you have to set up the devs.mak file and others prior to recompilation?
If support is not automatically compiled in any info as to what files have to be changed... the only thing I got from the various docs was a headache. I'm not a programmer at all.. so most of the docs having to do with the compilation were above my head ( to say the least ).
0
 
LVL 1

Expert Comment

by:hcheng
ID: 1627143
If you have already compiled ghostscript, try typing "gs -help".  It should list all devices that it supports right now.  If you see bjc600 as one of them, then you don't have to recompile.  Otherwise, you will need to recompile.  It's been a while since I have compiled gs, but I think that most of the devices are enabled by default.

Yes, compiling ghostscript can be a pain.  So many little portions of makefiles to edit...
0
 

Author Comment

by:grbaker
ID: 1627144
OK... greeat bjc600 is compiled in.... will give her a shot with your script and printcap... thanks

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This video teaches users how to migrate an existing Wordpress website to a new domain.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question