Previous Thread
Next Thread
Print Thread
AUXLOC printing problem. #1436 24 Mar 08 03:44 PM
Joined: Nov 2006
Posts: 2,223
S
Stephen Funkhouser Offline OP
Member
OP Offline
Member
S
Joined: Nov 2006
Posts: 2,223
I have an ATE/Linux environment in which I'm printing via AUXLOC. I had to install ATE under one Domain user on the windows box, and it's being run under a different user. I'm receiving an fopen() err #3 when it tries to copy the file to the ATE machine. Does anyone know how to fix this?


Stephen Funkhouser
Diversified Data Solutions
Re: AUXLOC printing problem. #1437 24 Mar 08 05:30 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I'm a little confused by this. Is it a Windows error message? If so, does it show "Opening printer temp file" and list the filespec that it is trying to open? If so, that would help clarify what the issue is.

In theory, ATE tries to create a temp file for the captured print file, called dsk0/001004/pr#####.tmp in the ATE installation tree. So maybe the runtime user can't see that directory? I would have expected an access denied error.

It might be possible to get ATE to use a specific print file spec, but first I'd like to have the feeling that I understand what is going on here, which I don't have yet.

Re: AUXLOC printing problem. #1438 24 Mar 08 06:18 PM
Joined: Nov 2006
Posts: 2,223
S
Stephen Funkhouser Offline OP
Member
OP Offline
Member
S
Joined: Nov 2006
Posts: 2,223
That's exactly right. Sorry for not clarifying that. Do you know what would cause the runtime user to not be see the directory, permissions maybe? Is there a possible work around?


Stephen Funkhouser
Diversified Data Solutions
Re: AUXLOC printing problem. #1439 24 Mar 08 06:43 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Well, one idea is to manually see if you can adjust the permissions on the directory tree.

Otherwise, I need to review the docs and/or code to see how to override the default location of the temp file.

What version is this?

Re: AUXLOC printing problem. #1440 25 Mar 08 07:41 AM
Joined: Nov 2006
Posts: 2,223
S
Stephen Funkhouser Offline OP
Member
OP Offline
Member
S
Joined: Nov 2006
Posts: 2,223
This is version 5.0.998.8. This is one of Harris Baking's customers and unfortunately I don't really have access to changing their permissions. The server side version is 5.0.999.2.


Stephen Funkhouser
Diversified Data Solutions
Re: AUXLOC printing problem. #1441 25 Mar 08 10:45 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
OK, I'd forgotten about this parameter, but it looks like it might do the trick.

In the printer init file(s), add the following:

AUXPCDIR=C:\TEMP

or perhaps better yet

AUXPCDIR=%TEMP%

The notes for it in the Setup Guide say the following:

Quote

AUXPCDIR

AUXPCDIR=

This command may be used in conjunction with DEVICE=AUXLOC: to specify where the output file will be placed on the PC. Normally this doesn't matter much because the file is usually deleted after printing, but in cases where that is not true, and especially for PDF generation, the location is rather important.

For example,

AUXPCDIR=%MIAME%\PDF

If does not exist, it will be created (provided that its parent path exists).


Re: AUXLOC printing problem. #1442 25 Mar 08 02:19 PM
Joined: Nov 2006
Posts: 2,223
S
Stephen Funkhouser Offline OP
Member
OP Offline
Member
S
Joined: Nov 2006
Posts: 2,223
Thank you, this fixed the printing problem.


Stephen Funkhouser
Diversified Data Solutions

Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3