Printing using SCRIPTS

New to IntelliCAD? Get started here with basic questions and answers.

Moderators: CMS Inc, avaernes

Post Reply

Do you use SCRIPTS for automating tasks?

Yes
0
No votes
No
1
100%
 
Total votes: 1
Userlevel6
Valued Contributor
Posts: 31
Joined: Tue Sep 18, 2012 11:44 am

Printing using SCRIPTS

Post by Userlevel6 » Thu Sep 20, 2012 9:48 am

I must say, I'm certainly developing a love/hate relationship with ICAD.

:?

I often have to plot sets of drawings, and I have long been accustomed to automating plotting through the use of scripts. When I have to plot 50 drawings, and I don't have to look at them first, it's just waaaay more efficient.

Now I'm finding myself very frustrated and angry with the way ICAD handles form changes in scripts. :evil:

Maybe the problems I'm having are isolated to form names on our office printer, but I cannot get IntelliCAD to respect the form names I'm requesting in my script. I think the problem stems from having special characters like parenthesis and quotes. When I specify Letter (8.5" x 11") in my script, ICAD acts like it accepts this when in reality it just blows past and uses whatever default form was last used from the Plot dialog. Furthermore, using .PC3 files with this printer is no help whatsoever, probably for the same reasons. It is totally unpredictable with respect to page size and orientation when I use the .PC3 files even from the Plot dialog, although printing directly to the printer using the Plot dialog is working fine.

Previously when I encountered this issue on ICAD 6, I discovered that ICAD was making up hidden names for the forms used on the printers. Using those hidden names got me around the issues I think are coming from the form names in the printer driver, but the new version has done away with that, apparently not for the better from an automation standpoint.

I hope someone can shed some light on this because it's making me crazy. Every time I think I have something nailed down that will handle the paper size and orientation properly, even when called from a script, I end up finding out I do not have it nailed at all.
User avatar
CMS Inc
Site Admin
Posts: 95
Joined: Wed Feb 23, 2005 12:01 am
Location: Burleson, TX
Contact:

Printing with Scripts

Post by CMS Inc » Tue Oct 16, 2012 8:07 pm

What kind of Scripts are you referring to? VBA?

If running the CMS IntelliCAD PRO edition, then it's possible to install and run Etoolbox Express Tools from http://etoolbox.com
It has Layouts Batch Plot included.
Userlevel6
Valued Contributor
Posts: 31
Joined: Tue Sep 18, 2012 11:44 am

Printing using ACAD style scripts

Post by Userlevel6 » Wed Oct 17, 2012 6:00 am

ACAD style scripting. :roll: Maybe I'm the only person who does this anymore? :lol:
A text file with an .scr extension, and commands and responses as if you entered them on the command line in ACAD (or ICAD.)

I'm convinced the issue is with my printer drivers containing special characters in the form names. Some forms I'm using contain quotes and parenthesis, like Letter (8.5" x 11"). I'm guessing whatever code runs the plot process is choking on this, because it appears to just skip it and use whatever the last successful plot directly to the device (not using a .pc3) used.

Incidentally, I recently discovered the switch under Drawing Settings, to tell ICAD to read special characters for LISP and changed that. I haven't had a chance to test and see if it made any difference...
Userlevel6
Valued Contributor
Posts: 31
Joined: Tue Sep 18, 2012 11:44 am

Post by Userlevel6 » Tue Oct 23, 2012 8:52 am

Well, the switch was no help. I remain convinced that the problem is in my Ricoh printer drivers using quotes and parentheses in paper size names. ICAD seems unable to process this when I try to use standard SCRIPT-command methods. :(
Userlevel6
Valued Contributor
Posts: 31
Joined: Tue Sep 18, 2012 11:44 am

Post by Userlevel6 » Mon Dec 08, 2014 3:17 pm

My problem was solved by using a Windows driver, because it had no spaces, quotes, or other special characters in the form names.
Post Reply