|
Forums
Conferences
SIG Info
LUG Info
FAQs
Jobs
Mentor Graphics
MEMBERS ONLY
Change Profile
Email Archives
SIG Top Issues
User Library
Conference Proceedings
Search
|
|
Mr_Andre
member
Reged: 07/01/10
Posts: 1
Loc: Germany
|
|
Hi all, The following problem exists with Lcabel 8.9_1.30 on SunOS 5.7.
I have the order to setup new HPGL and HPGL-2 plot queues/printers. The Lcable computer can only print in postscript at present. No HPGL/HPGL-2 filters were installed before I started with this job. I added the following new definition into the PlotSysTable section of a pet file (plot export table file): "HPGL-Plot SW auf OCE_tcs500, A0+ Rolle", "mgcOCE_tcs500", "/usr2/mentor/mgc/print/fis/fis.OCE_tcs500_sw.hp2",
The contents of above fis (filter invocation file) file /usr2/mentor/mgc/print/fis/fis.OCE_tcs500_sw.hp2 is this here, except that I changed the license server part to port@license.server to keep my company's license server secret: #------ start of fis file ---------
#!/bin/sh # PLOT/EXPORT FILTER INVOCATION SCRIPT (FIS) # This file sets up the environment for a Mentor Graphics Plot/Export # Filter and invokes the filter executable. This file was automatically # generated by the AMPLE tool $fis_builder(). # # Streams assigned by the printer daemon based on the printing environment # that has been established by the Unix System Administrator are: # # stdin - the MGC job file # stdout - the Unix device to receive the output # stderr - an appropriate stream to receive warning and error messages
log=$HOME/OCE_tcs500_lcable.log exec 2>>$log
# # Define the location of the MGC software tree # MGC_HOME=/usr2/mentor/idea_D2_ss6/ export MGC_HOME
ulimit -n 1024
# # Set up the MGLS environment # MGLS_LICENSE_FILE=port@license.server export MGLS_LICENSE_FILE MGC_LOCATION_MAP=NO_MAP export MGC_LOCATION_MAP # # Set up the path for the desired filter executable # FILTER_PATH=$MGC_HOME/pkgs/hp2_filter/.lib/hp2_filter # # Set up the path for the desired configuration file # CONFIG=/usr2/mentor/mgc/print/config/config.OCE_tcs500_sw.hp2
# # Establish the platform specific run time environment for executing filters # . $MGC_HOME/bin/set_mgc_env # # Invoke the filter
$FILTER_PATH -config $CONFIG | /usr/bin/lp -dOCE_tcs500
#-------- end of fis file ------------
The contents of above config file /usr2/mentor/mgc/print/config/config.OCE_tcs500_sw.hp 2 is here:
#--- start of config file --------- # # HP-GL/2 filter configuration file created using the # Mentor Graphics filter_setup tool. # device generic paper_size A0+_ROLL color_plotting disabled #post_job_command /usr/openwin/bin/xterm -bg yellow -title "HPGL-2 Schwarz-Weiss Plot erzeugt, bitte Fenster schl iessen.."
#--- end of config file ---------
The print definition uses a new MGC printer/print queue called mgcOCE_tcs500. I setup this printer as root user with the $MGC_HOME/bin/filter_setup program. The new MGC printer uses system printer OCE_tcs500 which is a remote printer. From the filter_setup program I can successfully test the printer as root user. The log file which is defined in the fis file for that printer gets created while running the test from the filter_setup tool. The print job gets spooled and I get the print out at the printer.
Now comes the problem and the main question is "Is there a difference between the "test plot" function of the filter_setup tool and a real print job submission by the user with regards to processing of the fis file?:
When the user uses that new printer definition and tries to print from the Lcable application he does not get a print out. The log file does not get created but the Lcable transcript says "Print command completed, job spooled to printer mgcOCE_tcs500". I do not understand why it can say "job spooled". I think that would mean it would invoke the print filter in $MGC_HOME/pkgs/hp2_filter/.lib/hp2_filter. If that is true then the print log file $HOME/OCE_tcs500_lcable.log should also be created because the part with the log file definition comes before the line with the filter definition in the fis file. Is there a mistake in my thoughts?
The filter I installed comes from an Lcable installation of version 8.9_17.2. I recursively copied the directory hp2_filter.ss6 from that 8.9_17.2 installation into this older 8.9_1.30 system because I do not have the original 8.9-1.30 installation CDs. In the "version" file of subdirectory "dependencies" it says "hp2_filter :v8.9_2.3". That sounds like that filter requires an Lcable version of 8.9_2.3 or later. But if that is true, why does the printer test from the filter_setup tool work? Should it not fail on the wrong filter version, too?
Who can help? Is there another way to trace how far the filter invocation by the Lcable user runs? Does anyone know where to get the original installation software for 8.9_1.30? It looks like my company does not have a running Mentor support contract anymore.
Any help is most welcome. Thanks.
Andre
|
Frank_42
member
Reged: 01/21/05
Posts: 8
Loc: Europe, Germany
|
|
Andre,
have you checked file permissions?
You may use 'truss' to check what's going on, especially which files are opened.
Good luck Frank
|
|
0 registered and 1 anonymous users are browsing this forum.
Moderator: MUGadmin, DavidZar, Phil Lindberg
Print Topic
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Topic views: 216
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.4
|