PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jeffrey Ferreira

Pages: 1 ... 6 7 [8] 9 10 ... 12
106
iNomads / Re: No Windows Printers Available
« on: September 09, 2020, 03:27:29 PM »
Hi Stéphane ,

Yes that does make sense.

The printer in question is a server side printer. It is just a print queue that we send index info to. So it will open this virtual printer  and print out:

Order Number: 100022
Customer: JONES CONSTRUCTION
Order Date: 09/09/2020

and then we'll go out and create a folder in our Document Management System so that they can store any type of Document in there (electronic or scanned)

the thing is it works at a few other accounts from Inomads....

normally when this happens in our regualr application...all i have to do to fix it is sign in as that user and set the default printer on the network user something like this:

def object  ws,"WScript.Network"
ws'SetDefaultPrinter("ImagePrinter")

but i can't do this in Inomads....my only choice has been to stop the printing to it ....

jeff





107
iNomads / No Windows Printers Available
« on: September 08, 2020, 01:35:42 PM »
Hello,

when running an inomads application we have a routine that tries to open up *windev* to print to our document storage printer.
winprt.pvc pops up message "No Windows Printers Available"
i'm kind of new to inomads - is this an easy fix...

jeff

108
Programming / Re: *winprt* mxc/mxl
« on: August 25, 2020, 03:13:30 PM »
Thank you Mike.
I was printing a Default Font after.
This is a zebra printer and even after sending the 'DF' i can't get the mxc / mxl close.
i'll try again...

109
Programming / *winprt* mxc/mxl
« on: August 25, 2020, 12:35:33 PM »
So i'm trying to deal with a problem on an old print program...
and  here is my question -> why does the mxl / mxc differ when i open printer 2 different ways:

open (1)"*winprt*;NORMAL"
select printer L1 from windows printer box
print mxc(1)
50
print mxl (1)
81

open (1)"*winprt*;L1"
print mxc(1)
49
print mxl (1)
44

when it does the NORMAL open (which works) and i'm trying to open printer quietly -> is there any way i can see what font it is defaulting to?


jeff






110
Programming / Handheld *winprt*
« on: August 25, 2020, 12:06:59 PM »
Hello,

Is there anyway when I open *winprt* on a Handheld that the printer box can be smaller so the users can see the controls?
I should have mentioned / I'm using RDP.. i bet if i was using windx then box would be smaller...

thanks in advance

jeff

111
Programming / mysql read / key position
« on: August 18, 2020, 04:53:26 PM »
Hi list (i feel like i saw something about positioning a key on mysql read) but i can't find in search.

i have a mysql keyword table
so keyword is 4015551212
when i read the table
read (keyword,key="4015551212",dom=*next)
the read positions the key to the record right after 4015551212
i found a hack way around it but i would like to fix...
can someone help me
jeff

112
Language / Re: blank pdf [ignore please]
« on: July 28, 2020, 11:25:52 AM »
Hi Mike that worked perfect...
i think replication is fine...
the only thing i can conclude is that i dont really have the pdf open anymore on the original print channel ...
perhaps it is zero and is printing on screen....
i have added a catch in place to hopefully figure out...

i guess when i emailed the list i was wondering if there was any command that would clear the pdf kind of like the 'AB' mnemonic...

but i honestly think it is just a bug in my code...
sorry about that.

113
Language / Re: blank pdf
« on: July 28, 2020, 09:44:46 AM »
in hindsight i think i should have classified this under Programming because i think i'm doing something wrong.... but that is why i put the Repeat data to determine, "Jeff are you really printing anything?" and i also check that the Real Print chan is pointing to *pdf* (to make sure i'm not going to some other printer)

114
Language / blank pdf [ignore please]
« on: July 28, 2020, 09:21:43 AM »
Hi List,
i am really scratching my head on this...

i have a program that is printing to pdf and the client says the pdf is blank...
so i decided to use that awesome feature "repeat data"

Repeat data did not disappoint...i created another pdf and repeat data  as follows
REPEAT DATA TO REAL_CHAN ON BACKUP_CHAN

the pdf that i created on Backup Chan looks perfect
the pdf that i created on the Real_Chan is blank.

i dont even know what question to ask besides How?

jeff

115
Language / Re: Open tcp channel
« on: July 15, 2020, 11:01:08 AM »
Hi Mark
i'm assuming that the "a" missing in communication is just a typo when you posted to this thread correct?
jeff

116
Language / Re: Error 31
« on: July 15, 2020, 10:39:29 AM »
thank you Mike...that is more than likely the case...i will alter the error trapping

117
Language / Error 31
« on: July 15, 2020, 09:57:31 AM »
Hello List,

i'm using *plus/web/request;put
call "*plus/web/request;put",err=*next,(URL$),(DATA$),RESPONSE$,RESPONSE_HEADER$,(CONTENT_TYPE$),(CERTIFICATE$),(EXTRA_HEADERS$)

and my program is getting error 31's after running for a while..i see a lot of [tcp] ports opens on hfn channels..
i think *plus/web/request is not closing a file channel, but i see a close in the program...

has anyone else ever had this  issue?

jeff

118
Programming / Re: XCOPY
« on: July 02, 2020, 04:26:53 PM »
No i haven't i will look at it...the robocopy flags looked promising but it did not work...i will look at create file....i'm just trying to do a cheap quick backup for client (not as their primary solution)...but a quick way we can go back a few days and view system as it was a few days ago.....i will try "create file" thanks

119
Programming / Re: XCOPY
« on: July 02, 2020, 01:17:15 PM »
i did try robocopy but not those switches..
i'll give it a try..
thanks

120
Programming / Re: XCOPY
« on: July 02, 2020, 12:56:12 PM »
For me this is what is failing
kickoff copy...while it is running...try to open file

0005 cmd$=env("COMSPEC")+" /C xcopy jmg.txt back"
0010 y=sys(cmd$)
0020 open (hfn)"jmg.txt"

line 20 gets an error 0


Pages: 1 ... 6 7 [8] 9 10 ... 12