Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRENCH: The tiptoi pen does not recognize the GME file #5

Closed
severin-lemaignan opened this issue Feb 11, 2017 · 11 comments
Closed

FRENCH: The tiptoi pen does not recognize the GME file #5

severin-lemaignan opened this issue Feb 11, 2017 · 11 comments
Assignees
Labels
help wanted stale issues marked stale will be closed after a month of inactivity

Comments

@severin-lemaignan
Copy link

I've assembled a first album into a GME file, copied the GME file to the pen, and printed the control sheet.

The pen recognizes the pattern on the control sheet, however, it tells the audio files are not available.

As I've read on the tttool issue tracker that it might be necessary to set the language tag to the one of the pen, I've re-assembled a GME file with the language tag set to our pen (FRENCH). It does not however work any better.

Any ideas how I could debug that?

@thawn
Copy link
Owner

thawn commented Feb 11, 2017 via email

@thawn
Copy link
Owner

thawn commented Feb 11, 2017 via email

@thawn thawn changed the title The tiptoi pen does not recognize the GME file FRENCH: The tiptoi pen does not recognize the GME file Feb 11, 2017
@creativecat
Copy link

I have a similar problem, but with a german pen. I run the ttmp32gme on a Mac. The selected files were successfully added to the pen (I can see the gme file on the pen over the finder).
Printing also runs successfully but the pen doesn't recognize the gme file. I tried different settings for the ink-printer itself (best quality, standard...) and in the browser (resolution etc.)...

In the console I get the following errors (from starting the program until printing):

[MSG] Server running on port: 10020
Open http://127.0.0.1:10020/ in your favorite web browser to continue.

[MSG] using tttool: /var/folders/d8/l2j8p0qs3m372xw63kmvfz5m0000gs/T/par-486f6d656f72646e6572/cache-ba514ff236fd8dd6d248830a52e34eeda8ef9648/inc/lib/tttool
Can't exec "/var/folders/d8/l2j8p0qs3m372xw63kmvfz5m0000gs/T/par-486f6d656f72646e6572/cache-ba514ff236fd8dd6d248830a52e34eeda8ef9648/inc/lib/wkhtmltopdf": No such file or directory at TTMp32Gme/PrintHandler.pm line 169.
Use of uninitialized value $wkhtmltopdf_version in pattern match (m//) at TTMp32Gme/PrintHandler.pm line 170.

@mirkowein
Copy link

mirkowein commented May 20, 2017

I've same issues as creativecat.
Neither the old tiptoi nor the new one recognize any of my printed controls. same errors in console, but i don't think the problem has anything to do with the recognition. (only print Page in browser?)
Any suggestions? I've printed with ink and laser.
many thanks!

@thawn
Copy link
Owner

thawn commented May 21, 2017

@creativecat , @mirkowein
Thank you for your bug reports.
Your issues are unrelated to this issue. This issue is specific to problems with the french language and have nothing to do with the pen not recognizing printed pages. I have opened a new issue for your problems here: #11

Please read the pages I have linked in there, they give good advice on getting your printer to work with tttool (which is what ttmp32gme uses to create the oid codes for the print pages).

@thawn
Copy link
Owner

thawn commented Jun 4, 2017

I am closing this issue as an upstream problem of tttool. Please feel free to reopen it if you manage to create FRENCH language gme files with tttool but not with ttmp32gme.

@rafiberlin
Copy link

rafiberlin commented Sep 25, 2018

I am closing this issue as an upstream problem of tttool. Please feel free to reopen it if you manage to create FRENCH language gme files with tttool but not with ttmp32gme.

Hi @thawn,

I have been able to make a slight tweak to make it work with a French firmware.

In src\TTMp32Gme\TttoolHandler.pm

I added these two lines (in italic):

sub make_gme {
my ( $oid, $config, $dbh ) = @_;
my $album = get_album( $oid, $dbh );
$album->{'old_oid'} = $oid;
my $yaml_file = file( $album->{'path'},
sprintf( '%s.yaml', cleanup_filename( $album->{'album_title'} ) ) );
my $fh = $yaml_file->openw();
print $fh "#this file was generated automatically by ttmp32gme\n";
print $fh "product-id: $oid\n";
print $fh "gme-lang: FRENCH\n";
print $fh "comment: CHOMPTECH DATA FORMAT CopyRight 2009 Ver2.4.0316\n";
close($fh);

It would be a great enhancement to have the possibility to configure the gme-lang and comment attributes of the GME file; I assume this would be helpful for any other firmware (ITALIAN, ENGLISH, RUSSIAN...).

PS: Is there a list of working printer I could update? I was able to make it work with a Samsung SCX-4300. In your solution I configured the output to 1200DPI and 2 Pixel; in Adobe PDF Viewer, I checked the box for grayscale printing before printing

@thawn
Copy link
Owner

thawn commented Sep 26, 2018

@rafiberlin thanks a lot for reporting the fix. I will implement a language selection option in the next release.

@thawn
Copy link
Owner

thawn commented Apr 27, 2019

Version 0.2.3 now offers a setting in the configuration to change the language. Could someone with a non- German pen please test if this works?

@thawn thawn self-assigned this Apr 27, 2019
@thawn thawn added the stale issues marked stale will be closed after a month of inactivity label Jun 16, 2019
@thawn
Copy link
Owner

thawn commented Jun 16, 2019

I am making this issue as stale. Unless I hear back from someone who still has problems with different languages within 30 days, I am assuming the problem is fixed and closing this issue.

@thawn thawn closed this as completed Jul 9, 2019
@thawn
Copy link
Owner

thawn commented Jul 9, 2019

Please re-open the issue if you still have problems

j-zero pushed a commit to j-zero/ttmp32gme that referenced this issue Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted stale issues marked stale will be closed after a month of inactivity
Projects
None yet
Development

No branches or pull requests

5 participants