?
Solved

Canon BJC-4200 Printer

Posted on 1997-04-14
4
Medium Priority
?
320 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 200 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

770 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