Hey all, I apologize in advance for the long winded message but I think I'll need everyone effort on this one...
For office standards sake, I've created commands in drop menus that allow every employee to use various ‘standard’ page setups: for our plotter, printer and .dwg to .pdf. It's done with a lisp routine that basically looks up a .dwg with all those page setups already created (-psetupin).
Also, I've created 2 custom .pc3 files. The first is called 'Plotter' and the second is called 'Printer'. I did this in order to simply the task of (not) modifying our customization in the event of a dying printer/plotter. These .pc3 files are on our network and every user has access to them via an office profile, with the appropriate Printer Support File Path. We all have the same printer/plotter drivers.
Everything works fine, except for 2 employees. The lisp routine loads properly, as I can see it go in the command line and the page setup actually loads as well, as its name is in the page setup drop down menu, in the Plot menu. However, the page setup isn't 'selectable'. Also, if we try to 'preview' the plot we get this message: The selected layout has an invalid media configuration.
Every option in the page setup in as wanted (printer/Plotter name, scale, plot area, plot offset, etc.), EXCEPT for the paper size (even though the paper size specified in the lisp routine is available in the paper size list).
95% of the page setups work properly. The only one that don’t work are those for our plotter on paper sizes called ‘A1 (landscape)’ & ‘A0’.
What we’ve tried so far
I’ve created new .pc3 files, as I wanted to be sure they weren’t corrupted. We’ve reinstalled the printer/plotter drivers. I’ve reinstalled the office profile. I’ve checked that the paper sizes specified in the lisp routine were available in the .pc3 file.
What’s really confusing is that everything works fine on every computer except for those 2...
Any ideas would be appreciated!
The lisp is attached.
Yes, I use the '-psetupin' command.
The lisp grabs the page setups from a .dwg on our network.
Here's a sample: (a part of it is in french...sorry for that)
; Debut de la mise en page
(defun clotter_A1_100 (/ ECO FIL DIA OSM DWG PSU PLOTTER)
; Prise des variables CAD initiales
(setq ECO (getvar "cmdecho")
FIL (getvar "filedia")
DIA (getvar "cmddia")
OSM (getvar "osmode"))
; Information DWG + Page Setup
(setq DWG "ACS_Page Setup.dwg")
(setq PSU "PLOTTER_A1_100")
(setq PLOTTER "PLOTTER.pc3")
; Nouvelles variables CAD
(setvar "cmdecho" 0)
(setvar "filedia" 0)
(setvar "cmddia" 0)
(setvar "osmode" 0)
; Mise en page
(command "-psetupin" DWG PSU "yes")
(command "-plot" "no" "" PSU PLOTTER "no" "yes" "no")
; Remise des variables CAD initiales
(setvar "cmdecho" ECO)
(setvar "filedia" FIL)
(setvar "cmddia" DIA)
(setvar "osmode" OSM)
; Fin de la mise en page
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register