login about faq

I need to collect informtion about an Intermec printer that has a web based interface, so I use a QuickGetStr call to retrieve the config page. I use VS2008-2010 with linked c++ libraries. This work since 2010, and with 9.4.0. Now that I've upgraded to latest 9.5 some call to get pages return true, but the string is empty. Seems related to web pages not named html ( ie. /rom/home.htmf - yes they use F instead L ).

Using put_VerboseLogging and put_SessionLogFilename what i get (bot W2008R2 64 and XP 32 and W7 64) I've got what you see below, the two calls are maden back to back from the same procedure, the first to htmf fails, the second to html succeded, both works if I restore 9.4.0. Of course also in explorer both are displayed as expected.

TIA

---- Sending ---- GET /rom/home.htmf HTTP/1.1 Accept: / Connection: Keep-Alive User-Agent: Chilkat/1.0.0 (+http://www.chilkatsoft.com/ChilkatHttpUA.asp) Accept-Charset: ISO-8859-1,utf-8;q="0.7,*";q="0.7" Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip Host: 10.0.0.141

---- Received ---- HTTP/1.0 200 Ok Server: 10.0.0.141 Date: Wed, 31 Dec 1969 23:59:59 GMT Pragma: no-cache Cache-Control: no-cache; private; Expires: 0 Content-Type: text/html; charset=iso-8859-1 Connection: close

---- Sending ---- GET /rom/secure/view.html HTTP/1.1 Accept: / Connection: Keep-Alive User-Agent: Chilkat/1.0.0 (+http://www.chilkatsoft.com/ChilkatHttpUA.asp) Accept-Charset: ISO-8859-1,utf-8;q="0.7,*";q="0.7" Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip Host: 10.0.0.141

---- Received ---- HTTP/1.0 200 Ok Server: 10.0.0.141 Date: Wed, 31 Dec 1969 23:59:59 GMT Pragma: no-cache Cache-Control: no-cache; private; Expires: 0 Content-Type: text/html; charset=iso-8859-1 Connection: close

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Config view</title></head> <body bgcolor="#ffffff">

Communication
Serial Communication, uart1: (RS232)
Baud Rate :115200
Data Bits :8
Parity :NONE
Stop Bits :1
RTS/CTS :ENABLE
ENQ/ACK :DISABLE
XON/XOFF Data To Host :DISABLE
XON/XOFF Data From Host :DISABLE
New Line :CR/LF
Receive Buffer :5000
Transmit Buffer :500

Network Communication, net1:

Status : Available
New Line : CR/LF

USB Keyboard Layout:

Interface :US

Media
XSTART:8
WIDTH:640
LENGTH:1800
MEDIA TYPE:TICKET (w MARK)
PAPER TYPE:DIRECT THERMAL
LABEL CONSTANT:85
LABEL FACTOR:40
CONTRAST:+0%
TESTFEED MODE:FAST
LEN (SLOW MODE):0

Print Engine

HEAD RESOLUTION:8.00 dots/mm (203 dpi)
STARTADJ:-100
STOPADJ:0
HEAD RESIST:625
PRINT SPEED:200
CLIP DEFAULT:OFF
Web Shell
Testfeed:43 63 12 10
Command Language:Fingerprint
Fingerprint Application:
Standard I/O:auto

Alerts<html><head></head><body bgcolor="#ffffff">

AlertSettingDelay repeatDelay unitMessage
Label Not Taken disabled1occurrencesLabel Not Taken
Cutter Error enabled1occurrencesError - Cutter Error
Head Lifted enabled1occurrencesError - Head Lifted
Out of Paper enabled1occurrencesError - Out of Paper
Pause Mode disabled1occurrencesPause Mode
Setup Mode disabled1occurrencesSetup Mode
Error Condition disabled1occurrencesWarning - Error Condition
Application Break disabled1occurrencesError - Application Break
Print Job Complete disabled1occurrencesPrint Job Complete
Odometer Count1 di

asked Apr 13 '14 at 03:47

zaksoft's gravatar image

zaksoft
1234


Below (I've forgotten before) the same firt call as above returning data with previous 9.4 version...

---- Sending ---- GET /rom/home.htmf HTTP/1.1 Accept: / Connection: Keep-Alive User-Agent: Chilkat/1.0.0 (+http://www.chilkatsoft.com/ChilkatHttpUA.asp) Accept-Charset: ISO-8859-1,utf-8;q="0.7,*";q="0.7" Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip Host: 10.0.0.141

---- Received ---- HTTP/1.0 200 Ok Server: 10.0.0.141 Date: Wed, 31 Dec 1969 23:59:59 GMT Pragma: no-cache Cache-Control: no-cache; private; Expires: 0 Content-Type: text/html; charset=iso-8859-1 Connection: close

<html><head></head> <body bgcolor="#ffffff"

<basefont size="2" face="Arial, Helvetica, sans serif">

EasyCoder PF4i

Name (WINS):INTERMEC319358
Firmware Version:MCS 1986, 18-Apr-11 13:21:12
Active Command Set:Fingerprint 8.79.1

MAC Address:00:10:40:31:93:58
IP Address:10.0.0.141
Network Type:Ethernet
IPv6 Addresses:FE80::210:40FF:FE31:9358/64

Image buffer:label.png

RtW™:Application break
</body></html>

link

answered Apr 13 '14 at 09:55

zaksoft's gravatar image

zaksoft
1234

with version v9.5.0.36 • 28-Apr-2014 the problem is solved.

I've found another different result in 9.5.0.x, but in another section of the library: since I need to find printer status I use CkHtmlToText toText( strReturned) to get content.

With version 9.4 RtW™: was returned as RtW™:, now as RtWÖ: ( in italian windows 1252 codepage 153 is translated as Ö )

Hope this help.

link

answered Apr 30 '14 at 11:06

zaksoft's gravatar image

zaksoft
1234

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×65
×9
×1

Asked: Apr 13 '14 at 03:47

Seen: 2,183 times

Last updated: Apr 30 '14 at 11:06

powered by OSQA